class Movies {
  int? code;
  String? msg;
  dynamic? page;
  int? pagecount;
  String? limit;
  int? total;
  List<MoviesList>? list;

  Movies({
    this.code,
    this.msg,
    this.page,
    this.pagecount,
    this.limit,
    this.total,
    this.list,
  });

  Movies.fromJson(Map<String, dynamic> json) {
    code = json['code'];
    msg = json['msg']?.toString();
    page = json['page'];
    pagecount = json['pagecount'];
    limit = json['limit']?.toString();
    total = json['total'];
    if (json['list'] != null) {
      list = (json['list'] as List).map((e) => MoviesList.fromJson(e)).toList();
    }
  }

  Map<String, dynamic> toJson() {
    return {
      'code': code,
      'msg': msg,
      'page': page,
      'pagecount': pagecount,
      'limit': limit,
      'total': total,
      'list': list?.map((e) => e.toJson()).toList(),
    };
  }
}

class MoviesList {
  int? vodId;
  int? typeId;
  int? typeId1;
  int? groupId;
  String? vodName;
  String? vodSub;
  String? vodEn;
  int? vodStatus;
  String? vodLetter;
  String? vodColor;
  String? vodTag;
  String? vodClass;
  String? vodPic;
  String? vodPicThumb;
  String? vodPicSlide;
  String? vodPicScreenshot;
  String? vodActor;
  String? vodDirector;
  String? vodWriter;
  String? vodBehind;
  String? vodBlurb;
  String? vodRemarks;
  String? vodPubdate;
  int? vodTotal;
  String? vodSerial;
  String? vodTv;
  String? vodWeekday;
  String? vodArea;
  String? vodLang;
  String? vodYear;
  String? vodVersion;
  String? vodState;
  String? vodAuthor;
  String? vodJumpurl;
  String? vodTpl;
  String? vodTplPlay;
  String? vodTplDown;
  int? vodIsend;
  int? vodLock;
  int? vodLevel;
  int? vodCopyright;
  int? vodPoints;
  int? vodPointsPlay;
  int? vodPointsDown;
  int? vodHits;
  int? vodHitsDay;
  int? vodHitsWeek;
  int? vodHitsMonth;
  String? vodDuration;
  int? vodUp;
  int? vodDown;
  String? vodScore;
  int? vodScoreAll;
  int? vodScoreNum;
  String? vodTime;
  int? vodTimeAdd;
  int? vodTimeHits;
  int? vodTimeMake;
  int? vodTrysee;
  int? vodDoubanId;
  String? vodDoubanScore;
  String? vodReurl;
  String? vodRelVod;
  String? vodRelArt;
  String? vodPwd;
  String? vodPwdUrl;
  String? vodPwdPlay;
  String? vodPwdPlayUrl;
  String? vodPwdDown;
  String? vodPwdDownUrl;
  String? vodContent;
  String? vodPlayFrom;
  String? vodPlayServer;
  String? vodPlayNote;
  String? vodPlayUrl;
  String? vodDownFrom;
  String? vodDownServer;
  String? vodDownNote;
  String? vodDownUrl;
  int? vodPlot;
  String? vodPlotName;
  String? vodPlotDetail;
  String? typeName;
  String? localfile;

  MoviesList({
    this.vodId,
    this.typeId,
    this.typeId1,
    this.groupId,
    this.vodName,
    this.vodSub,
    this.vodEn,
    this.vodStatus,
    this.vodLetter,
    this.vodColor,
    this.vodTag,
    this.vodClass,
    this.vodPic,
    this.vodPicThumb,
    this.vodPicSlide,
    this.vodPicScreenshot,
    this.vodActor,
    this.vodDirector,
    this.vodWriter,
    this.vodBehind,
    this.vodBlurb,
    this.vodRemarks,
    this.vodPubdate,
    this.vodTotal,
    this.vodSerial,
    this.vodTv,
    this.vodWeekday,
    this.vodArea,
    this.vodLang,
    this.vodYear,
    this.vodVersion,
    this.vodState,
    this.vodAuthor,
    this.vodJumpurl,
    this.vodTpl,
    this.vodTplPlay,
    this.vodTplDown,
    this.vodIsend,
    this.vodLock,
    this.vodLevel,
    this.vodCopyright,
    this.vodPoints,
    this.vodPointsPlay,
    this.vodPointsDown,
    this.vodHits,
    this.vodHitsDay,
    this.vodHitsWeek,
    this.vodHitsMonth,
    this.vodDuration,
    this.vodUp,
    this.vodDown,
    this.vodScore,
    this.vodScoreAll,
    this.vodScoreNum,
    this.vodTime,
    this.vodTimeAdd,
    this.vodTimeHits,
    this.vodTimeMake,
    this.vodTrysee,
    this.vodDoubanId,
    this.vodDoubanScore,
    this.vodReurl,
    this.vodRelVod,
    this.vodRelArt,
    this.vodPwd,
    this.vodPwdUrl,
    this.vodPwdPlay,
    this.vodPwdPlayUrl,
    this.vodPwdDown,
    this.vodPwdDownUrl,
    this.vodContent,
    this.vodPlayFrom,
    this.vodPlayServer,
    this.vodPlayNote,
    this.vodPlayUrl,
    this.vodDownFrom,
    this.vodDownServer,
    this.vodDownNote,
    this.vodDownUrl,
    this.vodPlot,
    this.vodPlotName,
    this.vodPlotDetail,
    this.typeName,
    this.localfile,
  });

  MoviesList.fromJson(Map<String, dynamic> json) {
    vodId = json['vod_id'];
    typeId = json['type_id'];
    typeId1 = json['type_id_1'];
    groupId = json['group_id'];
    vodName = json['vod_name']?.toString();
    vodSub = json['vod_sub']?.toString();
    vodEn = json['vod_en']?.toString();
    vodStatus = json['vod_status'];
    vodLetter = json['vod_letter']?.toString();
    vodColor = json['vod_color']?.toString();
    vodTag = json['vod_tag']?.toString();
    vodClass = json['vod_class']?.toString();
    vodPic = json['vod_pic']?.toString();
    vodPicThumb = json['vod_pic_thumb']?.toString();
    vodPicSlide = json['vod_pic_slide']?.toString();
    vodPicScreenshot = json['vod_pic_screenshot']?.toString();
    vodActor = json['vod_actor']?.toString();
    vodDirector = json['vod_director']?.toString();
    vodWriter = json['vod_writer']?.toString();
    vodBehind = json['vod_behind']?.toString();
    vodBlurb = json['vod_blurb']?.toString();
    vodRemarks = json['vod_remarks']?.toString();
    vodPubdate = json['vod_pubdate']?.toString();
    vodTotal = json['vod_total'];
    vodSerial = json['vod_serial']?.toString();
    vodTv = json['vod_tv']?.toString();
    vodWeekday = json['vod_weekday']?.toString();
    vodArea = json['vod_area']?.toString();
    vodLang = json['vod_lang']?.toString();
    vodYear = json['vod_year']?.toString();
    vodVersion = json['vod_version']?.toString();
    vodState = json['vod_state']?.toString();
    vodAuthor = json['vod_author']?.toString();
    vodJumpurl = json['vod_jumpurl']?.toString();
    vodTpl = json['vod_tpl']?.toString();
    vodTplPlay = json['vod_tpl_play']?.toString();
    vodTplDown = json['vod_tpl_down']?.toString();
    vodIsend = json['vod_isend'];
    vodLock = json['vod_lock'];
    vodLevel = json['vod_level'];
    vodCopyright = json['vod_copyright'];
    vodPoints = json['vod_points'];
    vodPointsPlay = json['vod_points_play'];
    vodPointsDown = json['vod_points_down'];
    vodHits = json['vod_hits'];
    vodHitsDay = json['vod_hits_day'];
    vodHitsWeek = json['vod_hits_week'];
    vodHitsMonth = json['vod_hits_month'];
    vodDuration = json['vod_duration']?.toString();
    vodUp = json['vod_up'];
    vodDown = json['vod_down'];
    vodScore = json['vod_score']?.toString();
    vodScoreAll = json['vod_score_all'];
    vodScoreNum = json['vod_score_num'];
    vodTime = json['vod_time']?.toString();
    vodTimeAdd = json['vod_time_add'];
    vodTimeHits = json['vod_time_hits'];
    vodTimeMake = json['vod_time_make'];
    vodTrysee = json['vod_trysee'];
    vodDoubanId = json['vod_douban_id'];
    vodDoubanScore = json['vod_douban_score']?.toString();
    vodReurl = json['vod_reurl']?.toString();
    vodRelVod = json['vod_rel_vod']?.toString();
    vodRelArt = json['vod_rel_art']?.toString();
    vodPwd = json['vod_pwd']?.toString();
    vodPwdUrl = json['vod_pwd_url']?.toString();
    vodPwdPlay = json['vod_pwd_play']?.toString();
    vodPwdPlayUrl = json['vod_pwd_play_url']?.toString();
    vodPwdDown = json['vod_pwd_down']?.toString();
    vodPwdDownUrl = json['vod_pwd_down_url']?.toString();
    vodContent = json['vod_content']?.toString();
    vodPlayFrom = json['vod_play_from']?.toString();
    vodPlayServer = json['vod_play_server']?.toString();
    vodPlayNote = json['vod_play_note']?.toString();
    vodPlayUrl = json['vod_play_url']?.toString();
    vodDownFrom = json['vod_down_from']?.toString();
    vodDownServer = json['vod_down_server']?.toString();
    vodDownNote = json['vod_down_note']?.toString();
    vodDownUrl = json['vod_down_url']?.toString();
    vodPlot = json['vod_plot'];
    vodPlotName = json['vod_plot_name']?.toString();
    vodPlotDetail = json['vod_plot_detail']?.toString();
    typeName = json['type_name']?.toString();
    localfile = json['localfile']?.toString();
  }

  Map<String, dynamic> toJson() {
    return {
      'vod_id': vodId,
      'type_id': typeId,
      'type_id_1': typeId1,
      'group_id': groupId,
      'vod_name': vodName,
      'vod_sub': vodSub,
      'vod_en': vodEn,
      'vod_status': vodStatus,
      'vod_letter': vodLetter,
      'vod_color': vodColor,
      'vod_tag': vodTag,
      'vod_class': vodClass,
      'vod_pic': vodPic,
      'vod_pic_thumb': vodPicThumb,
      'vod_pic_slide': vodPicSlide,
      'vod_pic_screenshot': vodPicScreenshot,
      'vod_actor': vodActor,
      'vod_director': vodDirector,
      'vod_writer': vodWriter,
      'vod_behind': vodBehind,
      'vod_blurb': vodBlurb,
      'vod_remarks': vodRemarks,
      'vod_pubdate': vodPubdate,
      'vod_total': vodTotal,
      'vod_serial': vodSerial,
      'vod_tv': vodTv,
      'vod_weekday': vodWeekday,
      'vod_area': vodArea,
      'vod_lang': vodLang,
      'vod_year': vodYear,
      'vod_version': vodVersion,
      'vod_state': vodState,
      'vod_author': vodAuthor,
      'vod_jumpurl': vodJumpurl,
      'vod_tpl': vodTpl,
      'vod_tpl_play': vodTplPlay,
      'vod_tpl_down': vodTplDown,
      'vod_isend': vodIsend,
      'vod_lock': vodLock,
      'vod_level': vodLevel,
      'vod_copyright': vodCopyright,
      'vod_points': vodPoints,
      'vod_points_play': vodPointsPlay,
      'vod_points_down': vodPointsDown,
      'vod_hits': vodHits,
      'vod_hits_day': vodHitsDay,
      'vod_hits_week': vodHitsWeek,
      'vod_hits_month': vodHitsMonth,
      'vod_duration': vodDuration,
      'vod_up': vodUp,
      'vod_down': vodDown,
      'vod_score': vodScore,
      'vod_score_all': vodScoreAll,
      'vod_score_num': vodScoreNum,
      'vod_time': vodTime,
      'vod_time_add': vodTimeAdd,
      'vod_time_hits': vodTimeHits,
      'vod_time_make': vodTimeMake,
      'vod_trysee': vodTrysee,
      'vod_douban_id': vodDoubanId,
      'vod_douban_score': vodDoubanScore,
      'vod_reurl': vodReurl,
      'vod_rel_vod': vodRelVod,
      'vod_rel_art': vodRelArt,
      'vod_pwd': vodPwd,
      'vod_pwd_url': vodPwdUrl,
      'vod_pwd_play': vodPwdPlay,
      'vod_pwd_play_url': vodPwdPlayUrl,
      'vod_pwd_down': vodPwdDown,
      'vod_pwd_down_url': vodPwdDownUrl,
      'vod_content': vodContent,
      'vod_play_from': vodPlayFrom,
      'vod_play_server': vodPlayServer,
      'vod_play_note': vodPlayNote,
      'vod_play_url': vodPlayUrl,
      'vod_down_from': vodDownFrom,
      'vod_down_server': vodDownServer,
      'vod_down_note': vodDownNote,
      'vod_down_url': vodDownUrl,
      'vod_plot': vodPlot,
      'vod_plot_name': vodPlotName,
      'vod_plot_detail': vodPlotDetail,
      'type_name': typeName,
    };
  }
}

class SiteMovies {
  final String site;
  final List<MoviesList> data;
  SiteMovies({required this.site, required this.data});
}
